<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
            <title>后盾问答</title>
            <meta name="keywords" content="后盾问答"/>
            <meta name="description" content="后盾问答"/>
            {HD: include file="../Common/header.html"}
            {HD: css file='member.css'}
            {HD: js file='member.js'}
            <!--------------------中部-------------------->
            <div id='center'>
                <!-- 左侧 -->
                {HD: include file="../Common/left.html"}
                <!-- 左侧结束 -->
                <div id='right'>
                    <p class='title'>我的回答</p>
                    <ul class='ask-filter'>
                        <li class='{HD: if $smarty.get.ask!="solve"}cur {HD: /if}'> <a href='{HD: $smarty.const.__ROOT__}?c=Member&m=my_answer&ask=all'>全部回答</a></li>
                        <li class='{HD: if $smarty.get.ask=="solve"}cur {HD: /if}'><a href='{HD: $smarty.const.__ROOT__}?c=Member&m=my_answer&ask=solve'>被采纳的回答</a></li>
                    </ul>
                    {HD: if $smarty.get.ask!="solve"}
                    <div class='list list-filter'>
                        <table>
                            {HD: if $ansData}
                            <tr>
                                <th class='t1'>标题</th>
                                <th>回答</th>
                                <th class='t3'>更新时间</th>
                            </tr>
                            {HD: section loop=$ansData name=n}
                            <tr>
                                <td class='t1'>
                                    <a href="{HD: $smarty.const.__ROOT__}?c=Show&asid={HD: $ansData[n].askid}&cid={HD: $ansData[n].cid}">{HD: $ansData[n].acon}</a><span> [{HD: $ansData[n].title}]</span>
                                </td>
                                <td>{HD: $ansData[n].ans}</td>
                                <td class='t3'>{HD: $ansData[n].atime|date_format:'%Y-%m-%d %H:%M'}</td>
                            </tr>
                            {HD: /section}
                            {HD: else}
                            <tr height='140'>
                                <td>你还没有回答过问题</td>
                            </tr>
                            {HD: /if}
                        </table>
                    </div>
                    {HD: /if}
                    {HD: if $smarty.get.ask=="solve"}
                    <div class='list list-filter'>
                        <table>
                            {HD: if $SolvedData}
                            <tr>
                                <th class='t1'>标题</th>
                                <th>回答</th>
                                <th class='t3'>更新时间</th>
                            </tr>
                            {HD: section loop=$SolvedData name=n}
                            <tr>
                                <td class='t1'>
                                    <a href="{HD: $smarty.const.__ROOT__}?c=Show&asid={HD: $SolvedData[n].askid}&cid={HD: $SolvedData[n].cid}">{HD: $SolvedData[n].acon}</a><span> [{HD: $SolvedData[n].cate}]</span>
                                </td>
                                <td>{HD: $SolvedData[n].ans}</td>
                                <td class='t3'>{HD: $SolvedData[n].atime|date_format:'%Y-%m-%d'}</td>
                            </tr>
                            {HD: /section}
                            {HD: else}
                            <tr height='140'>
                                <td>我还没有被采纳的回答</td>
                            </tr>
                            {HD: /if}
                        </table>
                    </div>
                    {HD: /if}
                </div>
            </div>
            <!--------------------中部结束-------------------->
            <!-- 底部 -->
            <div id='bottom'>
                <p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
                <p>京公安网备xxxxxxxxxxxx</p>
            </div>
            <!--[if IE 6]>
                <script type="text/javascript" src="{HD: $smarty.const.__PUBLIC__}/Js/iepng.js"></script>
                <script type="text/javascript">
                    DD_belatedPNG.fix('.logo','background');
                    DD_belatedPNG.fix('.nav-sel a','background');
                    DD_belatedPNG.fix('.ask-cate i','background');
                </script>
            <![endif]-->
            </body>
            </html>
            <!-- 底部结束 -->